www.gusucode.com > RQCMS PHP文章管理系统 v2.3PHP源码程序 > RQCMS PHP文章管理系统 v2.3/rqcms_v2.3/rqcms_v2.3/data/themes/shinehome/article.php

    <?php
include RQ_DATA."/themes/$theme/header.php";
?>
  <td colspan="2" align="center" class="line_buttom_hui_xuxian"><h1 class="weizhi"><?php echo $article['title'];?></h1></td>
  </tr>
  <tr>
    <td colspan="2" valign="middle">Details:</td>
    </tr>
  <tr>
  <style>
.fwidth img
{
max-width:700px;
height:auto;
width:expression(this.width>700?"700px":this.width);
}
</style>
    <td colspan="2" class="line_buttom_hui_xuxian"><div class="hangju"><div class="fwidth"><?php echo $article['content'];?></div></div></td>
  </tr>
</tbody></table>
  <br>
  <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody><tr>
      <td class="line_buttom_hui_xuxian"><strong>Related Products :</strong></td>
    </tr>
  </tbody></table>
  <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody><tr>
      </tr>
	  <?php
	  if(is_array($article['tag'])) 
	  {
	  $likedata=getRelatedArticle($article['aid'],$article['tag'],4);
	  echo "<tr>";
	  foreach($likedata as $like)
	  {
	  ?>
      <td valign="top"><table width="150" border="0" cellpadding="0" cellspacing="0" style="margin:0 auto 10px auto;">
          <tbody><tr>
            <td height="150" align="center" bgcolor="#FFFFFF" class="border_hui"><a href="<?php echo $like['aurl'];?>"> <img src="<?php echo $like['thumb'];?>" width="150" height="150" alt="<?php echo $like['title'];?>" border="0"></a></td>
          </tr>
          <tr>
            <td align="center"><a href="<?php echo $like['aurl'];?>">
                  <?php echo $like['title'];?></a></td>
          </tr>
      </tbody></table></td>	  
	<?php
	}
	echo '</tr>';
	}
	?> 
      </tbody></table></td>  
    </tr>
  </tbody></table>
</div>
</td>
    </tr>
  </tbody></table>
<?php
include RQ_DATA."/themes/$theme/footer.php";
?>